Avoid an uninitialized variable access
authorMatthias Clasen <mclasen@redhat.com>
Sun, 16 Jun 2013 03:36:10 +0000 (23:36 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Sun, 16 Jun 2013 03:36:10 +0000 (23:36 -0400)
testsuite/gtk/defaultvalue.c

index 55875a61e82a2f4fb8ff668a89274472958974c7..f9609648cea9ad396072d050866c424fda0614a1 100644 (file)
@@ -92,6 +92,7 @@ test_type (gconstpointer data)
   else if (g_type_is_a (type, GDK_TYPE_WINDOW))
     {
       GdkWindowAttr attributes;
+      attributes.wclass = GDK_INPUT_OUTPUT;
       attributes.window_type = GDK_WINDOW_TEMP;
       attributes.event_mask = 0;
       attributes.width = 100;